import { ErrorBlock } from 'antd-mobile'
import { Link } from 'react-router-dom'
import styles from './css/NotFound.module.css'

function NotFound() {
  return (
    <div>
      <ErrorBlock fullPage />

      {/* 声明式导航，点击此链接，去首页 */}
      <Link
        to="/"
        className={styles.link}
        replace
      >
        去首页
      </Link>
    </div>
  )
}

export default NotFound
